import { post } from "jquery";
import http from "./http.js";

//首页banner

export const getBanner= () =>{
	return http('/user/getBanner')
}

//首页列表
export const getHomeList= ()=>{
	return http('/user/getHomeList')
}

export const login =(data)=>{
	return http('login',{
		code:data.code
	},'POST')
}

export const getUserInfo =()=>{
	return http('/getUserInfo')
}